import request from '@/utils/request'

export function testZooKeeperConnect(data) {
  return request({
    url: 'api/mq/cluster/validate/zooKeeper',
    method: 'post',
    data
  })
}

export function testKafkaConnect(data) {
  return request({
    url: 'api/mq/cluster/validate/kafka',
    method: 'post',
    data
  })
}
